//
//  ZYXDownLoadCell.m
//  RuiBeiKang
//
//  Created by iOS开发1 on 2019/1/8.
//  Copyright © 2019年 JW. All rights reserved.
//

#import "ZYXDownLoadCell.h"

@implementation ZYXDownLoadCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(ZYXClassNameDerailModel *)model{
    _model = model;
    self.titleLabel.text = model.title;
    if (model.isSelect) {
        self.imgView.image = [UIImage imageNamed:@"xuanzhong"];
   
    }else{
        self.imgView.image = [UIImage imageNamed:@"weixuan"];
    
    }
}

- (IBAction)clickSelectBtn:(UIButton *)sender {
    [self.delegate didClickSelectBtn:self.indexPath];
}

@end
